package com.bda.mediatheque.service;

import java.util.List;


/**
 *
 * @author samsung
 */
public interface IDao<K,E> {
    void persist(E entity);
    void remove(E entity);
    void merge(E entity);
    E findById(K id);
    List<E> findAll();
}
